package com.qubuyer.business.auth.view

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.qubuyer.R
import com.qubuyer.business.mine.activity.SettingFragment
import com.qubuyer.core.app.BaseFragment

/**
 * Author: linwg
 * Time: 2021/3/11 0011
 * Description:
 */
class UpdatePhoneSuccessFragment : BaseFragment() {
    override val layoutId: Int
        get() = R.layout.fragment_update_phone_result

    override fun getTitle(): String {
        return "更换手机"
    }

    override fun onBackPressed(): Boolean {
        mContext.popBackTo<SettingFragment>()
        return true
    }

    override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
        mRoot = inflater.inflate(layoutId, container, false)
        return mRoot
    }
}